﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace parkMonitor.view.util {
	/// <summary>弹出框</summary>
	public class BasePopWin : Window {
		public virtual void show(Window parent) {
			Owner = parent;
			WindowStartupLocation = WindowStartupLocation.CenterOwner;
			//Left = parent.Left + (parent.Width - Width) / 2;
			//Top = parent.Top + (parent.Height - Height) / 2;

			ShowDialog();
		}
	}
}
